package com.wlps.service;

import com.wlps.entity.ReturnOutOfStock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wlps.result.ResultPageVo;
import com.wlps.result.ResultVo;
import com.wlps.vo.sendcenter.inoutform.PurchaseReceiptAddVo;
import com.wlps.vo.sendcenter.inoutform.ReturnOutOfStockAddVo;
import com.wlps.vo.warehousecenter.warehoused.ReturnOutOfStockUpdateVo;
import com.wlps.vo.warehousecenter.warehoused.ReturnOutOfStockVo;

import java.util.List;

/**
 * <p>
 * 退货出库单表(return_out_of_stock) 服务类
 * </p>
 *
 * @author ZWYZY
 * @since 2020-07-31
 */
public interface IReturnOutOfStockService extends IService<ReturnOutOfStock> {
    /**
     * 分页显示出库单
     *
     * @param pageNum  页数号
     * @param pageSize 页条数
     * @param id       出库单号
     * @return
     */
    ResultPageVo<List<ReturnOutOfStockVo>> getReturnOutOfStockVo(int pageNum, int pageSize, Long id);

    /**
     * 确认出库
     *
     * @param id
     * @param returnOutOfStockUpdateVo
     * @return
     */
    ResultVo editReturnOutOfStockVo(Long id, ReturnOutOfStockUpdateVo returnOutOfStockUpdateVo);

    /**
     * 创建出库单
     *
     * @param returnOutOfStockAddVo
     * @return
     */
    ResultVo<ReturnOutOfStock> addReturnOutOfStockAddVo(ReturnOutOfStockAddVo returnOutOfStockAddVo);
}
